#ifndef XOBJLIST_H
#define XOBJLIST_H

class XObject;

typedef XObject *POBJECT;
typedef std::list<POBJECT> OBJECTLIST;
typedef std::list<POBJECT>::iterator OBJECTLIST_ITERATOR;

class XObjList
{
        XGame* pGame;
public:
        OBJECTLIST objects;

        XObjList(XGame* game);

        void addObject(XObject* pObject);

        void drawObjects();
        void processObjects();

        virtual ~XObjList();
};

#endif // XOBJLIST.H
